﻿using CodePlex.Lekman.SharePoint.Testing;

namespace CodePlex.Lekman.SharePoint.CacheDependencies.Tests
{
    /// <summary>
    /// Base class for all test fixtures within the project.
    /// </summary>
    public class TestFixtureBase : SharePointTestFixture
    {
        #region Constructor

        /// <summary>
        /// Initializes a new instance of the <see cref="TestFixtureBase"/> class.
        /// </summary>
        /// <remarks>
        /// Connects the underlying test to a site collection containing the word "lekman" in the host header.
        /// </remarks>
        public TestFixtureBase()
            : base("lekman") {}

        #endregion

        #region Overrides of SharePointTestFixture

        /// <summary>
        /// Gets or sets the absolute URL of the <see cref="P:CodePlex.Lekman.SharePoint.Testing.SharePointTestFixture.Site" />.
        /// </summary>
        protected override string SiteUrl{get;set;}

        /// <summary>
        /// Gets or sets the server relative URL of the <see cref="P:CodePlex.Lekman.SharePoint.Testing.SharePointTestFixture.Web" />.
        /// </summary>
        protected override string WebUrl{get;set;}

        #endregion
    }
}